---
import Layout from "../../layouts/Layout.astro";
import { BookDownloadForm } from "../../components/qwik/components/book-download-form";
---

<Layout title="Extending Bazel to Its Full Potential - O'Reilly Book | NativeLink">
  <main class="bg-black min-h-screen text-white font-nunito flex items-center justify-center">
    <div class="mx-auto max-w-6xl px-6 py-24 w-full">
      <div class="text-center mb-32">
        <h1 class="text-5xl md:text-6xl font-bold mb-6 bg-gradient-to-r from-[#724FBA] to-[#292C9F] bg-clip-text text-transparent">
          Extending Bazel to Its Full Potential
        </h1>
        <p class="text-xl md:text-2xl text-gray-300 max-w-4xl mx-auto">
          Leveraging Cloud and Parallelization to Ship Reliable Code Faster
        </p>
      </div>

      <div class="bg-gradient-to-br from-gray-900 to-gray-800 rounded-3xl shadow-2xl p-8 md:p-12 mb-12 border border-gray-700">
        <div class="md:flex md:items-center md:gap-12">
          <div class="md:flex-1 mb-8 md:mb-0">
            <h2 class="text-3xl md:text-4xl font-bold mb-6 text-white">Master Distributed Builds at Scale</h2>
            <p class="text-gray-300 text-lg mb-8 leading-relaxed">
              Discover how to extend Bazel beyond its traditional boundaries. This comprehensive
              guide from O'Reilly Media explores advanced techniques for leveraging cloud infrastructure
              and parallelization to dramatically improve your build performance and reliability.
            </p>
            <ul class="space-y-4 mb-8">
              <li class="flex items-center">
                <svg class="w-6 h-6 text-[#724FBA] mr-3 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20">
                  <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path>
                </svg>
                <span class="text-gray-200">Cloud-native build infrastructure design</span>
              </li>
              <li class="flex items-center">
                <svg class="w-6 h-6 text-[#724FBA] mr-3 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20">
                  <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path>
                </svg>
                <span class="text-gray-200">Advanced parallelization strategies</span>
              </li>
              <li class="flex items-center">
                <svg class="w-6 h-6 text-[#724FBA] mr-3 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20">
                  <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path>
                </svg>
                <span class="text-gray-200">Remote execution and caching best practices</span>
              </li>
              <li class="flex items-center">
                <svg class="w-6 h-6 text-[#724FBA] mr-3 flex-shrink-0" fill="currentColor" viewBox="0 0 20 20">
                  <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path>
                </svg>
                <span class="text-gray-200">New Bazel use cases and implementations</span>
              </li>
            </ul>
          </div>
          <div class="md:w-96 text-center">
            <div class="rounded-2xl overflow-hidden shadow-2xl transform hover:scale-105 transition-transform duration-300">
              <img
                src="https://endflakytests.com/oreilly_cover_photo.png"
                alt="Extending Bazel to Its Full Potential - O'Reilly Book Cover"
                class="w-full h-auto"
              />
            </div>
            <p class="text-sm text-gray-400 mt-4">Published by O'Reilly Media</p>
          </div>
        </div>
      </div>

      <div class="py-16 md:py-24">
        <BookDownloadForm client:visible />
      </div>

      <div class="mt-20 grid md:grid-cols-3 gap-8">
        <div class="bg-gradient-to-br from-gray-900 to-gray-800 rounded-2xl p-8 border border-gray-700 hover:border-[#724FBA] transition-all duration-300">
          <div class="flex flex-col items-center text-center">
            <div class="bg-gradient-to-r from-[#724FBA] to-[#292C9F] rounded-full w-20 h-20 flex items-center justify-center mb-6">
              <svg class="w-10 h-10 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6.253v13m0-13C10.832 5.477 9.246 5 7.5 5S4.168 5.477 3 6.253v13C4.168 18.477 5.754 18 7.5 18s3.332.477 4.5 1.253m0-13C13.168 5.477 14.754 5 16.5 5c1.747 0 3.332.477 4.5 1.253v13C19.832 18.477 18.247 18 16.5 18c-1.746 0-3.332.477-4.5 1.253"></path>
              </svg>
            </div>
            <h3 class="text-xl font-bold mb-3 text-white">Comprehensive Intro</h3>
            <p class="text-gray-300">
              From basics to advanced topics in distributed builds
            </p>
          </div>
        </div>
        <div class="bg-gradient-to-br from-gray-900 to-gray-800 rounded-2xl p-8 border border-gray-700 hover:border-[#724FBA] transition-all duration-300">
          <div class="flex flex-col items-center text-center">
            <div class="bg-gradient-to-r from-[#724FBA] to-[#292C9F] rounded-full w-20 h-20 flex items-center justify-center mb-6">
              <svg class="w-10 h-10 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"></path>
              </svg>
            </div>
            <h3 class="text-xl font-bold mb-3 text-white">Practical Examples</h3>
            <p class="text-gray-300">
              Real-world code samples and configurations
            </p>
          </div>
        </div>
        <div class="bg-gradient-to-br from-gray-900 to-gray-800 rounded-2xl p-8 border border-gray-700 hover:border-[#724FBA] transition-all duration-300">
          <div class="flex flex-col items-center text-center">
            <div class="bg-gradient-to-r from-[#724FBA] to-[#292C9F] rounded-full w-20 h-20 flex items-center justify-center mb-6">
              <svg class="w-10 h-10 text-white" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 10V3L4 14h7v7l9-11h-7z"></path>
              </svg>
            </div>
            <h3 class="text-xl font-bold mb-3 text-white">Performance Tips</h3>
            <p class="text-gray-300">
              Optimize your builds for maximum efficiency
            </p>
          </div>
        </div>
      </div>
    </div>
  </main>
</Layout>
